﻿using NUnit.Framework;
using Vk.Methods.Messages;

namespace UnitTests
{
    [TestFixture]
    public class MessagesTests : TestsBase
    {
        [Test]
        public void GetTest()
        {
            IsSignatureUpdated(typeof(Messages).GetMethod("Get"));
        }

        [Test]
        public void GetDialogsTest()
        {
            IsSignatureUpdated(typeof(Messages).GetMethod("GetDialogs"));
        }

        [Test]
        public void GetByIdTest()
        {
            IsSignatureUpdated(typeof(Messages).GetMethod("GetById"));
        }

        [Test]
        public void SearchTest()
        {
            IsSignatureUpdated(typeof(Messages).GetMethod("Search"));
        }

        [Test]
        public void GetHistoryTest()
        {
            IsSignatureUpdated(typeof(Messages).GetMethod("GetHistory"));
        }

        [Test]
        public void GetHistoryAttachmentsTest()
        {
            IsSignatureUpdated(typeof(Messages).GetMethod("GetHistoryAttachments"));
        }

        [Test]
        public void SendTest()
        {
            IsSignatureUpdated(typeof(Messages).GetMethod("Send"));
        }

        [Test]
        public void DeleteTest()
        {
            IsSignatureUpdated(typeof(Messages).GetMethod("Delete"));
        }

        [Test]
        public void DeleteDialogTest()
        {
            IsSignatureUpdated(typeof(Messages).GetMethod("DeleteDialog"));
        }

        [Test]
        public void RestoreTest()
        {
            IsSignatureUpdated(typeof(Messages).GetMethod("Restore"));
        }

        [Test]
        public void MarkAsReadTest()
        {
            IsSignatureUpdated(typeof(Messages).GetMethod("MarkAsRead"));
        }

        [Test]
        public void MarkAsImportantTest()
        {
            IsSignatureUpdated(typeof(Messages).GetMethod("MarkAsImportant"));
        }

        [Test]
        public void GetLongPollServerTest()
        {
            IsSignatureUpdated(typeof(Messages).GetMethod("GetLongPollServer"));
        }

        [Test]
        public void GetLongPollHistoryTest()
        {
            IsSignatureUpdated(typeof(Messages).GetMethod("GetLongPollHistory"));
        }

        [Test]
        public void GetChatTest()
        {
            IsSignatureUpdated(typeof(Messages).GetMethod("GetChat"));
        }

        [Test]
        public void CreateChatTest()
        {
            IsSignatureUpdated(typeof(Messages).GetMethod("CreateChat"));
        }

        [Test]
        public void EditChatTest()
        {
            IsSignatureUpdated(typeof(Messages).GetMethod("EditChat"));
        }

        [Test]
        public void GetChatUsersTest()
        {
            IsSignatureUpdated(typeof(Messages).GetMethod("GetChatUsers"));
        }

        [Test]
        public void SetActivityTest()
        {
            IsSignatureUpdated(typeof(Messages).GetMethod("SetActivity"));
        }

        [Test]
        public void SearchDialogsTest()
        {
            IsSignatureUpdated(typeof(Messages).GetMethod("SearchDialogs"));
        }

        [Test]
        public void AddChatUserTest()
        {
            IsSignatureUpdated(typeof(Messages).GetMethod("AddChatUser"));
        }

        [Test]
        public void GetLastActivityTest()
        {
            IsSignatureUpdated(typeof(Messages).GetMethod("GetLastActivity"));
        }

        [Test]
        public void SetChatPhotoTest()
        {
            IsSignatureUpdated(typeof(Messages).GetMethod("SetChatPhoto"));
        }

        [Test]
        public void DeleteChatPhotoTest()
        {
            IsSignatureUpdated(typeof(Messages).GetMethod("DeleteChatPhoto"));
        }
    }
}